@media (min-width: 320px) {
  /* smartphones, iPhone, portrait 480x320 phones */
}
@media (min-width: 481px) {
  /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
}
@media (min-width: 641px) {
  /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
}
@media (min-width: 961px) {
  /* tablet, landscape iPad, lo-res laptops ands desktops */
}
@media (min-width: 1025px) {
  /* big landscape tablets, laptops, and desktops */
}
@media (min-width: 1281px) {
  /* hi-res laptops and desktops */
}

:root {
  /* Primary accents for buttons, CTA's and highlights */
  /* Secondary accent for links, hover and subtle dividers */

  /* Pallet 1 Warm and Natural */
  --off_white: #f9f5f1; /* Background */
  --soft_Mauve: #d291bc; /* Primary Accent */
  --deep_plum: #7b3f61; /* Secondary Accent */
  --dark_gray: #4a4a4a; /* Text */

  /* Pallet 2 Bright and Friendly */
  --light_cream: #fff9f0; /* Background */
  --golden_yellow: #ffb900; /* Primary Accent */
  --teal-green: #00796b; /* Secondary Accent */
  --neutral_charcoal: #3d3d3d; /* Text */

  /* Pallet 3 Sophisticated and Artistic */
  --soft_beige: #eae8dc; /* Background */
  --sage_green: #5a8f7b; /* Primary Accent */
  --burnt_terracotta: #9a533e; /* Secondary Accent */
  --deep_gray: #2e2e2e; /* Text */

  /* Pallet 4 Playful Yet professional */
  --white: #ffffff; /* Background */
  --soft_coral: #ff6f61; /* Primary Accent */
  --dusty_purple: #6c5b7b; /* Secondary Accent */
  --dark_gray: #2f2f2f; /* Text */
}

/********************/
/*** Header fonts ***/
/********************/
/* Playfair Display */
/* Raleway */
/* Montserrat */
/* Amatic SC */

/********************/
/*** Body Fonts ***/
/********************/
/* Open Sans */
/* Roboto */
/* Lora */
/* Poppins */

nav {
  background: var(--soft_beige) !important;
}
@media (max-width: 575px) {
  #nav {
    display: inline-block !important;
  }
}

.nav-link {
  font-family: "Montserrat", serif;
  color: var(--sage_green) !important;
  border-bottom: 2px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: var(--burnt_terracotta) !important;
  border-bottom: 2px solid var(--burnt_terracotta) !important;
}

.nav-link_active {
  color: var(--deep_gray) !important;
  border-bottom: 2px solid transparent;
}

/******************************/
/* Navigation Links Animation */
/******************************/

.nav_link_forward span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  transition: none;
}

@media (min-width: 575px) {
  /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
  .nav_link_forward:hover span {
    max-width: 500px;

    transition: max-width 1s ease;
  }
}

/* .nav_link_backwards {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  max-width: 500px;
  transition: max-width 0s ease;
}

.nav_link_backwards:hover span {
  max-width: 0;
} */

/********************************/

@keyframes borderExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

body {
  background: var(--soft_beige) !important;
  /* display: flex;
  flex-direction: column;
  align-items: center; */
}

.font_family {
  font-family: "Montserrat", serif;
}

.hidden {
  display: none !important;
}

.primary_accent {
  color: var(--sage_green) !important;
}

.primary_accent_btn {
  background-color: var(--sage_green) !important;
  color: white;
}
.primary_accent_btn:hover {
  background-color: var(--burnt_terracotta) !important;
  color: white;
}

.secondary_accent {
  color: var(--burnt_terracotta) !important;
}

.secondary_accent_btn {
  background-color: var(--burnt_terracotta) !important;
  color: white;
}

.secondary_accent_btn:hover {
  background-color: var(--deep_gray) !important;
  color: white;
}

.secondary_accent_label {
  color: black;
  background-color: var(--burnt_terracotta) !important;
  cursor: inherit;
}

.secondary_accent_label:hover {
  color: black;
  background-color: var(--burnt_terracotta) !important;
  cursor: inherit;
}

.primary_accent_label {
  color: black;
  background-color: var(--sage_green) !important;
  cursor: inherit;
}

.primary_accent_label:hover {
  color: black;
  background-color: var(--sage_green) !important;
  cursor: inherit;
}

.text_accent {
  color: var(--deep_gray) !important;
}

@media (min-width: 575px) {
  #rowSpacer {
    height: 40px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--burnt_terracotta);
    filter: opacity(0.5);
    box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 1) inset;
  }
}

@media (max-width: 575px) {
  #rowSpacer {
    height: 100px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--burnt_terracotta);
    filter: opacity(0.5);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /* box-shadow: 0px -10px 6px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0px -6px 6px 0px rgba(0, 0, 0, 0.75); */
  }
  #rowSpacer2 {
    height: 30px;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--soft_beige);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /* box-shadow: 0px -10px 6px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0px -6px 6px 0px rgba(0, 0, 0, 0.75); */
    display: align-self-end;
  }
  #rowSpacer3 {
    height: 30px;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--soft_beige);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    /* box-shadow: 0px -10px 6px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0px -6px 6px 0px rgba(0, 0, 0, 0.75); */
    display: align-self-end;
  }
}

.inner_shadow {
  box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 1) inset;
}

.normal_shadow {
  filter: drop-shadow(4px 6px 5px rgba(0, 0, 0, 0.3)) !important;
}

/* .card_shadow {
  box-shadow: 0px -10px 6px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 0px -6px 6px 0px rgba(0, 0, 0, 0.75);
} */

.foreground_image {
  position: relative;
  width: 90%;
  height: auto;
  z-index: 1;
}

.background_shape {
  position: absolute;
  top: 0;
  left: 40%;
  width: 50%;
  height: 90%;
  z-index: 0;
}

/**********************************/
/* Navigation Links on Front Page */
/**********************************/

.what_link {
  display: none;
}

@media (max-width: 991px) {
  .background_shape {
    display: none !important;
  }
}

/*********************/
/* Responsive Images */
/*********************/

.responsive_image_centered {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  height: 100%;
}

.responsive_image_card {
  position: relative;
  height: 28rem;
  width: 20rem;
  aspect-ratio: 5/7;
  color: #ffffff;
  perspective: 50rem;
}

.responsive_image_card .responsive_shadow {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  filter: blur(2rem) saturate(0.9);
  box-shadow: 0 -1.5rem 2rem -0.5rem rgba(0, 0, 0, 0.7);
  transform: rotate(var(--rotateX)) rotateY(var(--rotateY))
    translate3d(0, 2rem, -2rem);

  .responsive_image_card .responsive_image {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 40%);
    background-size: cover;
    background-position: center;
  }
}

.responsive_image_card.responsive_image.responsive_image_background {
  transform: rotateX(var(--rotateX)) rotateY(var(--rotateY))
    translate3d(0, 0, 0.92);
  z-index: 3;
}

/***********************/
/* Video on Front Page */
/***********************/

.video_container {
  width: auto;
  height: 80vh;
}

iframe {
  height: 90%;
}

/*******************************/
/* Gallery items on Front Page */
/*******************************/

.gallery {
  max-width: 80%;
  margin: 20px auto;
}

.main-image img {
  width: auto;
  max-height: 500px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.fade-img {
  transition: opacity 0.5s ease-in-out;
}

.hiddenfade {
  opacity: 0;
}

@media (max-width: 991px) {
  .main-image img {
    width: 80vw;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
}

.thumbnails {
  display: flex;
  overflow-x: auto;
  margin-top: 10px;
  gap: 10px;
  scrollbar-width: none; /* For Firefox */
}

.thumbnails::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

@media (min-width: 991px) {
  .thumbnails {
    align-items: center;
    justify-content: center;
  }
}

.thumbnail img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: filter 0.3s ease;
}

.thumbnail:hover img {
  filter: grayscale(0);
  cursor: pointer;
  transform: scale(110%);
  box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.9);
}

.thumbnail img:not(:hover) {
  filter: grayscale(100%);
}

.thumbnail img:hover {
  filter: none;
}

.video_text {
  position: absolute;
  top: 10vh;
  left: 25vw;
}

video {
  width: 100vw;
  height: 75vh;
}
